package cn.changeforyou.web.cloud.auth.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.changeforyou.web.cloud.auth.entity.SourceRoleControl;
import cn.changeforyou.web.cloud.auth.service.SourceRoleControlService;
import cn.changeforyou.web.cloud.auth.mapper.SourceRoleControlMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class SourceRoleControlServiceImpl extends ServiceImpl<SourceRoleControlMapper, SourceRoleControl>
    implements SourceRoleControlService{

    @Override
    public List<SourceRoleControl> getSourceRoleControlList(Integer roleId) {
        return getBaseMapper().listJoinSource(roleId);
    }
}




